package cn.jcby.app.lebu.controller.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: lihaotian
 * @since: 2023/12/18 19:12
 * @description
 **/
@Data
@ApiModel(value = "返回充值提现记录列表")
public class ChargeWithdrawalRes {
    @ApiModelProperty(value = "记录id")
    private String id;
    @ApiModelProperty(value = "类型：1充值2提现")
    private Integer operationType;
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "变更能量值：整数")
    private Integer energy;
    @ApiModelProperty("现有能量值")
    private BigDecimal currentEnergy;
    @ApiModelProperty("充值/提现时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime ;

}
